package com.zggk.iroad.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.ToMany;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "t_bhlx")
public class BhLxInfo {
    @Property(nameInDb = "id")//通过@Property()这个注解定义我外部数据库的字段名才能解决
    @Id(autoincrement = true)
    private Long id;
    private String BHLX;//类型名称
    private String BHLXID;//类型名称
    private String JLDW;//类型名称
    private String SFJL;//类型名称
    @NotNull
    private Long parentId;
    @Generated(hash = 1806346266)
    public BhLxInfo(Long id, String BHLX, String BHLXID, String JLDW, String SFJL,
            @NotNull Long parentId) {
        this.id = id;
        this.BHLX = BHLX;
        this.BHLXID = BHLXID;
        this.JLDW = JLDW;
        this.SFJL = SFJL;
        this.parentId = parentId;
    }
    @Generated(hash = 1596898553)
    public BhLxInfo() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getBHLX() {
        return this.BHLX;
    }
    public void setBHLX(String BHLX) {
        this.BHLX = BHLX;
    }
    public String getBHLXID() {
        return this.BHLXID;
    }
    public void setBHLXID(String BHLXID) {
        this.BHLXID = BHLXID;
    }
    public String getJLDW() {
        return this.JLDW;
    }
    public void setJLDW(String JLDW) {
        this.JLDW = JLDW;
    }
    public String getSFJL() {
        return this.SFJL;
    }
    public void setSFJL(String SFJL) {
        this.SFJL = SFJL;
    }
    public Long getParentId() {
        return this.parentId;
    }
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
